package guoanmaker.operator.business.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import guoanmaker.operator.business.model.OperatorTrademarkPatent;
import guoanmaker.operator.business.repository.OperatorTrademarkpatentRepository;

@Service
public class OperatorTrademarkpatentService implements OperatorTrademarkpatentServiceInterface {
	@Autowired
private OperatorTrademarkpatentRepository operatorTrademarkpatentRepository;
	@Override
	public OperatorTrademarkPatent saveOperatorTrademarkPatent(OperatorTrademarkPatent operatorTrademarkPatent) {
		// TODO Auto-generated method stub
		return operatorTrademarkpatentRepository.save(operatorTrademarkPatent);
	}
	@Override
	public OperatorTrademarkPatent selectOperatorTrademarkPatent(String citycode) {
		// TODO Auto-generated method stub
		return operatorTrademarkpatentRepository.findBycityCode(citycode);
	}

}
